<template>
	<view class="login">
		<image :src="logo" mode="widthFix" class="logo"></image>
		<button class="login-btn">用户一键登录</button>
		<view class="tip">
			<van-checkbox v-model="checked"
				checked-color="#FBB20F">已阅读并同意<text>《服务协议》</text>和<text>《隐私协议》</text></van-checkbox>
			<!-- <view>已阅读并同意<text>《服务协议》</text>和<text>《隐私协议》</text></view> -->
		</view>
	</view>
</template>

<script>
	import logo from '@/static/icon/logo1.png'

	export default {
		data() {
			return {
				logo,
				checked: false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.login {
		padding: 70rpx 30rpx 0 30rpx;
	}

	.logo {
		display: block;
		margin: auto;
		width: 150rpx;
	}

	.login-btn {
		background-color: #FBB20F;
		color: #fff;
		margin: 110rpx 0 30rpx 0;
	}

	.tip {
		display: flex;
		align-items: center;
		font-size: 22rpx;
		color: #999;

		text {
			color: #FBB20F;
		}
	}
</style>